package com.bootdo.order.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.bootdo.merchant.domain.AgentDO;
import com.bootdo.merchant.domain.MerchantDO;
import com.bootdo.order.domain.OrderPayDO;

/**
 * @Desc
 * @date 2019/12/2
 * ${tags}
 */
@Service
public interface OrderMercService {

    List<MerchantDO> findMerchant(Long userId);
    List<AgentDO> findAgent();

    List<OrderPayDO> list(Map<String, Object> map);
    int count(Map<String, Object> map);

    void callbackMerchant(Long id) throws Exception;
}
